/**
 * Create by CaoWenjian
 *
 * @copyRight: 2018
 **/
package com.bjboot.caocao.common.config;

/**
 *@Description 系统常量类信息
 *@Author 操文健
 *@Date 2018-09-03 下午8:45
 *@Version 1.0
 **/
public class Constant {
    public static String AUTO_REMOVE_PREFIX = "true";
    public static String ENCODING_UTF8 = "UTF-8";

    // 设置缓存方式
    public static String CACHE_TYPE_EHCHCAE = "ehcache";
    public static String CACHE_TYPE_REDIS = "redis";

    //Job停止计划任务
    public static String STATUS_RUNNING_STOP = "stop";
    //Job开启计划任务
    public static String STATUS_RUNNING_START = "start";

    // 设置总公司部门总节点的名称
    public static String DEPT_ROOT_NAME = "总部门";
    // 节点跟节点中文名称
    public static String TREE_ROOT_NAME = "根节点";
    //部门根节点id
    public static Long DEPT_ROOT_ID = 0l;

    // 错误字符串
    public static String LOG_ERROR = "error";

    // 系统错误字典
    public static int SUCCESS_CODE_200 = 200;

    public static int ERROR_CODE_401 = 401;
    public static String ERROR_CODE_401_NAME = "登陆过期";

    public static int ERROR_CODE_403 = 403;
    public static String ERROR_CODE_403_NAME = "无权操作";

    public static int ERROR_CODE_404 = 404;
    public static String ERROR_CODE_404_NAME = "未找到系统资源";

    public static int ERROR_CODE_500 = 500;
    public static String ERROR_CODE_500_NAME = "服务器错误，请联系管理员";


}
